#include <stdio.h>
#include <stdlib.h>

int main() {
	int c;
	int is_1st_quote = 1;

	while ((c = getchar()) != EOF) {
		if (c == '"') {
			if (is_1st_quote) {
				putchar('`');
				putchar('`');
			} else {
				putchar('\'');
				putchar('\'');
			}
			is_1st_quote = !is_1st_quote;
		} else {
			putchar(c);
		}
	}
	
#ifndef ONLINE_JUDGE
	system("pause");
#endif

	return 0;
}